package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 解锁信息表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="wallet_lock_info")
public class WalletLockInfo extends BaseEntity{
    /*
  `lock_number` varchar(64) DEFAULT NULL COMMENT '流水号',
  `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
  `lock_count` decimal(10,3) DEFAULT NULL COMMENT '数量(dlb)',
  `lock_state` char(1) DEFAULT '0' COMMENT '状态(0:完成，1:取消，2:未完成，3:解锁中)',
  `lock_type` char(1) DEFAULT '0' COMMENT '锁类型(0:锁定，1：解锁)',
     */
    private static final long serialVersionUID = 1L;
    private String lockNumber;            // 解锁流水号
    private String userId;                // 用户id
    private Double lockCount;            // 解锁的数量(dlb)
    private String lockState;            // 解锁状态(0:完成，1:取消，2:未完成，3:解锁中)
    private String lockType;            // 锁类型(0:锁定，1：解锁)


    public String getLockNumber() {
        return lockNumber;
    }

    public void setLockNumber(String lockNumber) {
        this.lockNumber = lockNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Double getLockCount() {
        return lockCount;
    }

    public void setLockCount(Double lockCount) {
        this.lockCount = lockCount;
    }

    public String getLockState() {
        return lockState;
    }

    public void setLockState(String lockState) {
        this.lockState = lockState;
    }

    public String getLockType() {
        return lockType;
    }

    public void setLockType(String lockType) {
        this.lockType = lockType;
    }
}